<!-- 列表 -->
<extend name="Public:layout" />
<block name="title"><{$authName}></block>

<block name="pluginCSS">
</block>
<block name="CSS"></block>

<block name="loadJS">
<script src="__PUBLIC__/admin/scripts/layer/layer.js" type="text/javascript"></script>  

</block>
<block name="setJS">
<script src="__PUBLIC__/Admin/scripts/custom/tablePay.js"></script>
<script>
var ajaxUrl="<{:U('index')}>";
</script>
</block>
<block name="initJS">
TablePay.init();
</block>
<block name="pagetitle">增删改查</block>
<block name="page">
<div class="row">
  <div class="col-md-12">
    <div class="portlet">
      <div class="portlet-title">
        <div class="caption">
          <i class="fa <{$authIco}>"></i><{$authName}>
        </div>
        
        <div class="actions">
          <a class="btn default green-stripe" id="table_new" data-toggle="modal" href="javascript:history.back();">
            <i class="fa fa-reply"></i>
            <span class="hidden-480">返回</span>
          </a>
        </div>
        
      </div>
      <div class="portlet-body">    
        <form class="form-horizontal" method="post">
            <input type="hidden" name="id" id="id" value="<{$pay.id}>" />
            <input type='hidden' name='payCode' id='payCode' value='<{$pay.payCode}>'/>
            <input type='hidden' name='payIcon' id='payIcon' value='__Public__/Admin/img/payment/alipay.jpg'/>
            <div class="form-group">
              <label class="col-sm-3 control-label" for="payName">支付名称</label>
              <div class="col-md-6">
                <input type="text" class="form-control" placeholder="支付名称" name="payName" id="payName"  value="<{$pay.payName}>" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label" for="payAccount">支付宝账户</label>
              <div class="col-md-6">
                <input type="text" class="form-control" placeholder="支付宝账户" name='payAccount' id='payAccount' value="<{$pay.payAccount}>" />
              </div>
            </div>

            <div class="form-group">
              <label class="col-sm-3 control-label" for="parterID">合作者身份（parterID）</label>
              <div class="col-md-6">
                <input type="text" class="form-control" placeholder="合作者身份" name='parterID' id='parterID' value="<{$pay.parterID}>" />
              </div>
            </div>

            <div class="form-group">
              <label class="col-sm-3 control-label" for="parterKey">安全校验码（parterKey）</label>
              <div class="col-md-6">
                <input type="text" class="form-control" placeholder="安全校验码" name='parterKey' id='parterKey' value="<{$pay.parterKey}>" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label" for="payDesc">支付方式描述</label>
              <div class="col-md-6">
                <input type="text" class="form-control" placeholder="支付方式描述" name="payDesc" id="payDesc"  value="<{$pay.payDesc}>" />
              </div>
            </div>
            <div class="form-group">
              <label class="col-sm-3 control-label" for="payOrder">排序号</label>
              <div class="col-md-6">
                <input type="text" class="form-control" placeholder="排序号" name="payOrder" id="payOrder"  value="<{$pay.payOrder}>" />
              </div>
            </div>
            <div class="form-group">
                    <label class="col-sm-3 control-label" for="isOnline">是否在线支付</label>
                    <div class="col-md-6">
                    <div class="radio-list">
                      <label class="radio-inline">
                      <input type="radio" name="isOnline" id="optionsRadios1" value="1" <if condition="$pay.isOnline eq 1">checked</if> disabled> 是 </label>
                      <label class="radio-inline">
                      <input type="radio" name="isOnline" id="optionsRadios2" value="0" <if condition="$pay.isOnline eq 0">checked</if> disabled> 否 </label>
                    </div>
                    </div>
                  </div>

            <div class="form-group fluid">
                <div class="col-md-offset-3 col-md-9">
                  <button type="submit" class="btn blue">保存</button>
                  <button type="reset" class="btn default">取消</button>
                </div>
              </div>  
</form>     </div>
    </div>
  </div>
</div>
</block>